package com.cb.spzx.manager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cb.spzx.model.dto.product.CategoryBrandDto;
import com.cb.spzx.model.entity.product.CategoryBrand;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author lenovo
* @description 针对表【category_brand(分类品牌)】的数据库操作Mapper
* @createDate 2024-04-13 21:05:55
* @Entity com.cb.spzx.manager.entity.CategoryBrand
*/
@Mapper
public interface CategoryBrandMapper extends BaseMapper<CategoryBrand> {

    IPage<CategoryBrand> findByPage(@Param("categoryBrandPage") Page<CategoryBrand> categoryBrandPage,
                                    @Param("categoryBrandDto") CategoryBrandDto categoryBrandDto);
}




